//
//  OneKeyRepairMainTableCell.h
//  customer
//
//  Created by Holothurian on 2018/10/30.
//  Copyright © 2018年 yinlong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OneKeyRepairUploadImageCollectionCell.h"

NS_ASSUME_NONNULL_BEGIN


@protocol OneKeyRepairTableCellDelegate <NSObject>

@optional
- (void)serviceTimeTapEvent;

@end
/**
 选择地址
 */
@interface OneKeyRepairMainTableCell : UITableViewCell


@property (nonatomic,strong)UIImageView *addImgView;

@property (nonatomic,strong)UILabel *selectAddressLabel;

@property (nonatomic,strong)UIImageView *rightImgView;

@end


/**
 选择维修区域
 */
@interface OneKeyRepairEmptyRegionTableCell : UITableViewCell

@property (nonatomic,strong)UIImageView *repairImgView;

@property (nonatomic,strong)UILabel *regionLabel;

@end

/**
 选择区域后、分割式cell
 */
@interface  OneKeyRepairRegionTableCell: UITableViewCell

@property (nonatomic,strong)UIImageView *repairImgViewLeft;

@property (nonatomic,strong)UILabel *regionLabelLeft;

@property (nonatomic,strong)UIImageView *repairImgViewRight;

@property (nonatomic,strong)UILabel *regionLabelRight;

- (void)cellForLayout:(NSArray *)dataArray;

/**
 我的订单---订单详情使用

 @param dataArray 需要维修的区域名称
 */
- (void)cellForOrderDetailLayout:(NSArray *)dataArray;

@end

/**
 上传图片TableCell
 */

@protocol OneKeyRepairUploadImageTableCellDelegate <NSObject>

- (void)uploadImageTableCellAddImage:(NSIndexPath *)indexPath;

- (void)uploadImageTableCellTapHaveALook:(NSIndexPath *)indexPath;

@optional
- (void)uploadImageTableCellDeleteImage:(NSIndexPath *)indexPath;

@end

@interface OneKeyRepairUploadImageTableCell : UITableViewCell<UICollectionViewDelegate,UICollectionViewDataSource,UploadRepairImageCollectionCellDelegate>

@property (nonatomic,strong)UICollectionView *collectionView;

@property (nonatomic,strong)NSMutableArray *dataSource;

@property (nonatomic,assign)BOOL orderDetailFlag;

@property (nonatomic,weak)id<OneKeyRepairUploadImageTableCellDelegate>delegate;

@end


/**
 问题描述
 */
@interface OneKeyRepairQuestionDescriptionTableCell : UITableViewCell

@property (nonatomic,strong)UILabel *questionLabel;

@property (nonatomic,strong)UITextView *textView;

@property (nonatomic,strong)NSString *placeholderString;

@end


/**
 选择服务时间
 */
@interface OneKeyRepairSelectServiceTimeTableCell : UITableViewCell

@property (nonatomic,strong)UILabel *selectServiceLabel;

@property (nonatomic,strong)UILabel *timeLabel;

@property (nonatomic,strong)UIImageView *imgView;

@property (nonatomic,weak)id <OneKeyRepairTableCellDelegate> delegate;


- (void)cellForServiceTimeLayout:(NSString *)time;

@end
NS_ASSUME_NONNULL_END
